﻿using Microsoft.EntityFrameworkCore;
using Schedulingclasses.Domain;

namespace Schedulingclasses.Infrastructure
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<Userinfo> userinfos { get; set; }
        public DbSet<Roleinfo> roleinfos { get; set; }
        public DbSet<UserRoleinfo> userRoleinfos { get; set; }
        public DbSet<BanjiInfo> banjiInfos { get; set; }
        public DbSet<Branchschool> branchschools { get; set; }
        public DbSet<ClassInfo> classInfos { get; set; }
        public DbSet<GradeInfo> gradeInfos { get; set; }
        public DbSet<instancce> instancces { get; set; }
        public DbSet<ProcessInfo> processInfos { get; set; }
        public DbSet<RegionModel> regionInfos { get; set; }
    }
}
